package com.hx.order.service;

import com.hx.common.result.PageResult;
import com.hx.order.pojo.Content;

import java.util.*;

/**
 * content业务逻辑层
 */
public interface ContentService {


    public List<Content> findAll();


    public PageResult<Content> findPage(int page, int size);


    public List<Content> findList(Map<String,Object> searchMap);


    public PageResult<Content> findPage(Map<String,Object> searchMap,int page, int size);


    public Content findById(Integer id);

    public void add(Content content);


    public void update(Content content);


    public void delete(Integer id);

}
